
<%@ taglib uri="/struts-tags" prefix="s"%>
<html>
<head>


<script>
	var activeBtnDateCop = function() {
		$("#btnDateCop").removeAttr("disabled");
	};
	
	var activeBtnContacts = function() {
		$("#btnContacts").removeAttr("disabled");
	};

	
	var activeBtnReporting = function() {
		$("#btnReporting").removeAttr("disabled");
	};
	
	var activeBtnScopeService = function() {
		$("#btnScopeService").removeAttr("disabled");
	};
	
	var activeBtnConditions = function() {
		$("#btnConditions").removeAttr("disabled");
	};
	
	var activeBtnCiel = function() {
		$("#btnCiel").removeAttr("disabled");
	};
	
	var activeBtnCielQM = function() {
		$("#btnCielQM").removeAttr("disabled");
	};
	
	var activeBtnCarrierChoise = function() {
		$("#btnCarrierChoise").removeAttr("disabled");
	};
	
	
	var activeBtnWorking = function() {
		$("#btnWorking").removeAttr("disabled");
	};
	
	var activeBtnSOP = function() {
		$("#btnSOP").removeAttr("disabled");
	};
	
	var activeBtnKPI = function() {
		$("#btnKPI").removeAttr("disabled");
	};
	
	var activeBtnBC = function() {
		$("#btnBC").removeAttr("disabled");
	};
	
	
	$('#datepickerCop').datetimepicker();
	$('#fecha1').datetimepicker();
	$('#fecha2').datetimepicker();
	$('#fecha3').datetimepicker();
	$('#fecha4').datetimepicker();
	$('#fecha5').datetimepicker();
	$('#fecha6').datetimepicker();
	$('#fecha7').datetimepicker();
	$('#fecha8').datetimepicker();
	$('#fecha9').datetimepicker();
	$('#fecha10').datetimepicker();
	$('#fecha11').datetimepicker();
</script>

</head>
<body>


	<div class="col-lg-6">
		<h5>Client Operational Profile</h5>
		<div class="form-inline" role="form">
			<div class="checkbox">
				<s:if test="%{#session.usuarioSession.implementation == true}">
					<%-- 				                                            <s:checkbox type="checkbox" name="transitionsBeanImp.cop" disabled="false" theme="simple" onchange="change1()"/> --%>
					<s:checkbox type="checkbox" name="transitionsBeanImp.cop"
						disabled="false" theme="simple" id="checkCop"
						onchange="change1(true)" value="transitionBean.cop" />
				</s:if>
				<s:else>
					<s:checkbox type="checkbox" name="transitionsBeanImp.cop"
						disabled="true" theme="simple" />
				</s:else>


			</div>
			<div class="form-group">
				<s:textfield name="transitionBean.copdate" cssClass="form-control"
					readonly="true" theme="simple" id="dateCop" />
			</div>

			<div class="form-group">
				<s:textfield name="transitionBean.copfecha" cssClass="form-control"
					readonly="true" id="datepickerCop" theme="simple"
					onchange="activeBtnDateCop()" />
			</div>

			<button id="btnDateCop" class="btn btn-default" disabled="disabled"
				onclick="change1(false)">OK</button>
				
			<label>LU: <s:property value="lastImplementationUpdates.lastUserClientOperationalProfile"/> - <s:property value="lastImplementationUpdates.lastDateClientOperationalProfile"/></label>
		</div>
<!-- ///////////////////////////////////////////////// -->

		<h5>Contacts</h5>
		<div class="form-inline" role="form">
			<div class="checkbox">
				<s:if test="%{#session.usuarioSession.implementation == true}">
					<s:checkbox type="checkbox" name="transitionsBeanImp.contacts"
						disabled="false" onchange="change2(true)" theme="simple"
						id="checkContacts" value="transitionBean.contacts" />
				</s:if>
				<s:else>
					<s:checkbox type="checkbox" name="transitionsBeanImp.contacts"
						disabled="true" theme="simple" />
				</s:else>


			</div>
			<div class="form-group">
				<s:textfield name="transitionBean.contactsdate" id="dateContacts"
					cssClass="form-control" readonly="true" theme="simple" />
			</div>

			<div class="form-group">
				<s:textfield name="transitionBean.contactsfecha" onchange="activeBtnContacts()"
										cssClass="form-control" readonly="true" id="fecha1"
										theme="simple" />
			</div>

			<button id="btnContacts" class="btn btn-default" disabled="disabled"
				onclick="change2(false)">OK</button>
			<label>LU: <s:property value="lastImplementationUpdates.lastUserContacts"/> - <s:property value="lastImplementationUpdates.lastDateContacts"/></label>
		</div>
		
<!-- 		////////////////////////////////////////////////////// -->

		<h5>Reporting</h5>
		<div class="form-inline" role="form">
			<div class="checkbox">
				<s:if test="%{#session.usuarioSession.implementation == true}">
					<s:checkbox type="checkbox" name="transitionsBeanImp.reporting"
						disabled="false" onchange="change3(true)" theme="simple"
						id="checkReporting" value="transitionBean.reporting" />
				</s:if>
				<s:else>
					<s:checkbox type="checkbox" name="transitionsBeanImp.reporting"
						disabled="true" theme="simple" />
				</s:else>


			</div>
			<div class="form-group">
				<s:textfield name="transitionBean.reportingdate" id="dateReporting"
					cssClass="form-control" readonly="true" theme="simple" />
			</div>

			<div class="form-group">
				<s:textfield name="transitionBean.reportingfecha" onchange="activeBtnReporting()" 
					cssClass="form-control" readonly="true" id="fecha2" theme="simple" />
			</div>

			<button id="btnReporting" class="btn btn-default" disabled="disabled"
				onclick="change3(false)">OK</button>
				
			<label>LU: <s:property value="lastImplementationUpdates.lastUserReporting"/> - <s:property value="lastImplementationUpdates.lastDateReporting"/></label>
		</div>



<!-- ///////////////////////////////////////// -->
		<h5>Scope of Service</h5>
		<div class="form-inline" role="form">
			<div class="checkbox">
				<s:if test="%{#session.usuarioSession.implementation == true}">
					<s:checkbox type="checkbox"
						name="transitionsBeanImp.scopeofservice" disabled="false"
						onchange="change4(true)" theme="simple" id="checkScopeService"
						value="transitionBean.scopeofservice" />
				</s:if>
				<s:else>
					<s:checkbox type="checkbox"
						name="transitionsBeanImp.scopeofservice" disabled="true"
						theme="simple" />
				</s:else>


			</div>
			<div class="form-group">
				<s:textfield name="transitionBean.scopeofservicedate" 
							id="dateScopeService"	cssClass="form-control" readonly="true" theme="simple" />
			</div>

			<div class="form-group">
				<s:textfield name="transitionBean.sosfecha"  onchange="activeBtnScopeService()"
										cssClass="form-control" readonly="true" id="fecha3"
										theme="simple" />
			</div>

			<button id="btnScopeService" class="btn btn-default" disabled="disabled"
				onclick="change4(false)">OK</button>
				
			<label>LU: <s:property value="lastImplementationUpdates.lastUserScopeOfService"/> - <s:property value="lastImplementationUpdates.lastDateScopeOfService"/></label>
		</div>



<!-- ////////////////////////////////////////// -->
		<h5>Conditions</h5>
		<div class="form-inline">
			<div class="checkbox">
				<s:if test="%{#session.usuarioSession.implementation == true}">
										<s:checkbox type="checkbox"
											name="transitionsBeanImp.condition" disabled="false"
											onchange="change5(true)" theme="simple" id="checkConditions" value="transitionBean.condition"/>
									</s:if> <s:else>
										<s:checkbox type="checkbox"
											name="transitionsBeanImp.condition" disabled="true"
											theme="simple" />
									</s:else>


			</div>
			<div class="form-group">
				<s:textfield name="transitionBean.conditionsdate" id="dateConditions"
										cssClass="form-control" readonly="true" theme="simple" />
			</div>

			<div class="form-group">
				<s:textfield name="transitionBean.conditionsfecha" onchange="activeBtnConditions()"
										cssClass="form-control" readonly="true" id="fecha4"
										theme="simple" />
			</div>

			<button id="btnConditions" class="btn btn-default" disabled="disabled"
				onclick="change5(false)">OK</button>
				
			<label>LU: <s:property value="lastImplementationUpdates.lastUserConditions"/> - <s:property value="lastImplementationUpdates.lastDateConditions"/></label>
		</div>


<!-- /////////////////////////////////////////////////////////// -->


		<h5>Ciel Client Id</h5>
		<div class="form-inline">
			<div class="checkbox">
				<s:if	test="%{#session.usuarioSession.implementation == true}">
										<s:checkbox type="checkbox" id="St2checkboxCID"
											name="transitionsBeanImp.cielid" onchange="enable_cb3(true)"  theme="simple" value="transitionBean.cielid" />
									</s:if> <s:else>
										<s:checkbox type="checkbox" id="St2checkboxCID"
											name="transitionsBeanImp.cielid" onchange="enable_cb3(true)"
											disabled="true" theme="simple" />
									</s:else>


			</div>
			<div class="form-group">
				<s:textfield name="transitionBean.cieliddate" 
										id="textCID" cssClass="form-control" readonly="true"
										theme="simple" />
			</div>

			<div class="form-group">
				<s:textfield name="transitionBean.cielidfecha" id="fecha5" onchange="activeBtnCiel()"
										cssClass="form-control" readonly="true" theme="simple" />
			</div>

			<button id="btnCiel" class="btn btn-default" disabled="disabled"
				onclick="enable_cb3(false)">OK</button>
				
			<label>LU: <s:property value="lastImplementationUpdates.lastUserCielClient"/> - <s:property value="lastImplementationUpdates.lastDateCielClient"/></label>
		</div>
		
		
<!-- 		///////////////////////////////////////////////7 -->
		
		
		
		<h5>Ciel Quotation Module</h5>
		<div class="form-inline" role="form">
			<div class="checkbox">
				<s:if
										test="%{#session.usuarioSession.implementation == true}">
										<s:checkbox type="checkbox" id="St2checkboxCQ"
											name="transitionsBeanImp.cielqmodule" onchange="change6(true)"
											theme="simple"  value="transitionBean.cielqmodule"/>
									</s:if> <s:else>
										<s:checkbox type="checkbox" id="St2checkboxCQ"
											name="transitionsBeanImp.cielqmodule" 
											theme="simple" disabled="true" />
									</s:else>


			</div>
			<div class="form-group">
				<s:textfield name="transitionBean.cielqmoduledate"
										id="textCQ" cssClass="form-control" readonly="true"
										theme="simple" />

			<div class="form-group">
				<s:textfield name="transitionBean.cielqmfecha" onchange="activeBtnCielQM()"
										id="fecha6" cssClass="form-control" readonly="true"
										theme="simple" />
			</div>

			<button id="btnCielQM" class="btn btn-default" disabled="disabled"
				onclick="change6(false)">OK</button>
				
			<label>LU: <s:property value="lastImplementationUpdates.lastUserCielQuotationModule"/> - <s:property value="lastImplementationUpdates.lastDateCielQuotationModule"/></label>
		</div>
		</div>
		
		
<!-- 		////////////////////////////////////////////////// -->



		
		<h5>ACON Debtor Number</h5>
		<div class="form-inline" role="form">
			<div class="checkbox">
			<s:checkbox type="checkbox"
										name="joindocumenttransitionBeanT8.vobo" disabled="true"
										theme="simple" />


			</div>
			<div class="form-group">
				<s:textfield
										name="joindocumenttransitionBeanT8.completiondate"
										cssClass="form-control" readonly="true" theme="simple" />

		

			
		</div>
		<label>LU: <s:property value="lastImplementationUpdates.lastUserACONDebtorNumber"/> - <s:property value="lastImplementationUpdates.lastDateACONDebtorNumber"/></label>
		</div>
		
<!-- 		/////////////////////////////////////////////////////////////// -->


		
		<h5>Carrier Choise Sheet</h5>
		<div class="form-inline" role="form">
			<div class="checkbox">
				<s:if	test="%{#session.usuarioSession.implementation == true}">
										<s:checkbox type="checkbox" id="St2checkboxCD"
											name="transitionsBeanImp.carriercc" onchange="change7(true)"
											theme="simple" value="transitionBean.carriercc"/>
									</s:if> <s:else>
										<s:checkbox type="checkbox" id="St2checkboxCD"
											name="transitionsBeanImp.carriercc" 
											disabled="true" theme="simple" />
									</s:else>


			</div>
			<div class="form-group">
				<s:textfield name="transitionBean.carrierccdate"
										id="textCD" cssStyle="" cssClass="form-control" readonly="true"
										theme="simple" />

			<div class="form-group">
				<s:textfield name="transitionBean.carrierfecha" id="fecha7" onchange="activeBtnCarrierChoise()"
										cssStyle="" cssClass="form-control" readonly="true"
										theme="simple" />
			</div>

			<button id="btnCarrierChoise" class="btn btn-default" disabled="disabled"
				onclick="change7(false)">OK</button>
				
			<label>LU: <s:property value="lastImplementationUpdates.lastUserCarrierChoiseSheet"/> - <s:property value="lastImplementationUpdates.lastDateCarrierChoiseSheet"/></label>
		</div>
		</div>
		
		
<!-- 		//////////////////////////////////////////////////// -->
		
		
		
		<h5>Working Instructions</h5>
		<div class="form-inline">
			<div class="checkbox">
				<s:if test="%{#session.usuarioSession.implementation == true}">
										<s:checkbox type="checkbox"  id="checkWorking" value="transitionBean.workingst"
											name="transitionsBeanImp.workingst" disabled="false" onchange="change8(true)"
											 theme="simple" />
									</s:if> <s:else>
										<s:checkbox type="checkbox"
											name="transitionsBeanImp.workingst" disabled="true"
											theme="simple" />
									</s:else>

			</div>
			<div class="form-group">
				<s:textfield name="transitionBean.workingstdate"  id="dateWorking"
										cssClass="form-control" readonly="true" theme="simple" />

			<div class="form-group">
				<s:textfield name="transitionBean.workingfecha" onchange="activeBtnWorking()"
										cssClass="form-control" readonly="true" id="fecha8"
										theme="simple" />
			</div>

			<button id="btnWorking" class="btn btn-default" disabled="disabled"
				onclick="change8(false)">OK</button>
				
			<label>LU: <s:property value="lastImplementationUpdates.lastUserWorkingInstructions"/> - <s:property value="lastImplementationUpdates.lastDateWorkingInstructions"/></label>
		</div>
		</div>
		
		
		
<!-- 		////////////////////////////////////////////////////////////// -->
		
		
		
		<h5>Standar Operating Procedure</h5>
		<div class="form-inline" role="form">
			<div class="checkbox">
				<s:if
										test="%{#session.usuarioSession.implementation == true}">
										<s:checkbox type="checkbox" name="transitionsBeanImp.sop"
											disabled="false" onchange="change9(true)" theme="simple" id="checkSOP" value="transitionBean.sop"/>
									</s:if> <s:else>
										<s:checkbox type="checkbox" name="transitionsBeanImp.sop"
											disabled="true" theme="simple" />
									</s:else>

			</div>
			<div class="form-group">
				<s:textfield name="transitionBean.sopdate" id="dateSOP"
										cssClass="form-control" readonly="true" theme="simple" />

			<div class="form-group">
				<s:textfield name="transitionBean.sopfecha"  onchange="activeBtnSOP()"
										cssClass="form-control" readonly="true" id="fecha9"
										theme="simple" />
			</div>

			<button id="btnSOP" class="btn btn-default" disabled="disabled"
				onclick="change9(false)">OK</button>
				
			<label>LU: <s:property value="lastImplementationUpdates.lastUserStandarOperatingProcedure"/> - <s:property value="lastImplementationUpdates.lastDateStandarOperatingProcedure"/></label>
		</div>
		</div>
		
		
<!-- 		/////////////////////////////////////////////////////////////////////////// -->
		
		
		
		
		<h5>Key Performance Indicators</h5>
			<div class="form-inline" role="form">
			<div class="checkbox">
				<s:if
										test="%{#session.usuarioSession.implementation == true}">
										<s:checkbox type="checkbox" name="transitionsBeanImp.kpi"
											disabled="false" onchange="change10(true)" theme="simple" id="checkKPI" value="transitionBean.kpi"/>
									</s:if> <s:else>
										<s:checkbox type="checkbox" name="transitionsBeanImp.kpi"
											disabled="true" theme="simple" />
									</s:else>

			</div>
			<div class="form-group">
				<s:textfield name="transitionBean.kpidate"  id="dateKPI"
										cssClass="form-control" readonly="true" theme="simple" />
			<div class="form-group">
				<s:textfield name="transitionBean.kpifecha" onchange="activeBtnKPI()"
										cssClass="form-control" readonly="true" id="fecha10"
										theme="simple" />
			</div>

			<button id="btnKPI" class="btn btn-default" disabled="disabled"
				onclick="change10(false)">OK</button>
				
			<label>LU: <s:property value="lastImplementationUpdates.lastUserKeyPerformanceIndicators"/> - <s:property value="lastImplementationUpdates.lastDateKeyPerformanceIndicators"/></label>
		</div>
		</div>
		
		
<!-- 		///////////////////////////////////////////////////////////////////////////// -->
		
		<h5>Billing Conditions</h5>
		<div class="form-inline">
			<div class="checkbox">
			<s:if test="%{#session.usuarioSession.implementation == true}">
									<s:checkbox type="checkbox" name="transitionsBeanImp.billing" disabled="false"
											onchange="change11(true)" theme="simple" id="checkBC" value="transitionBean.billing"/>
								</s:if>
								<s:else>
									<s:checkbox type="checkbox"
											name="transitionsBeanImp.billing" disabled="true"
											theme="simple" />
								</s:else>

			</div>
			<div class="form-group">
				<s:textfield name="transitionBean.billingdate" id="dateBC"
										cssClass="form-control" readonly="true" theme="simple" />
			<div class="form-group">
				<s:textfield name="transitionBean.billingfecha" onchange="activeBtnBC()"
										cssClass="form-control" readonly="true" id="fecha11"
										theme="simple" />
			</div>

			<button id="btnBC" class="btn btn-default" disabled="disabled"
				onclick="change11(false)">OK</button>
				
			<label>LU: <s:property value="lastImplementationUpdates.lastUserBillingConditions"/> - <s:property value="lastImplementationUpdates.lastDateBillingConditions"/></label>
		</div>
		
		
	</div>





</body>
</html>